package com.ruoyi.project.bajiaostar.tGood.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 商品对象 t_good
 * 
 * @author wangwu
 * @date 2024-05-20
 */
public class TGood extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodName;

    /** 商品状态： 0 上架  1 下架 */
    @Excel(name = "商品状态： 0 上架  1 下架")
    private Integer goodStatus;

    /** 最后一次修改人 */
    @Excel(name = "最后一次修改人")
    private String updateUser;

    @Excel(name = "商品图片")
    private String goodFileUrl;


    /** 当前记录起始索引 */
    private Integer pageNum;
    /** 每页显示记录数 */
    private Integer pageSize;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGoodName(String goodName) 
    {
        this.goodName = goodName;
    }

    public String getGoodName() 
    {
        return goodName;
    }
    public void setGoodStatus(Integer goodStatus) 
    {
        this.goodStatus = goodStatus;
    }

    public Integer getGoodStatus() 
    {
        return goodStatus;
    }
    public void setUpdateUser(String updateUser) 
    {
        this.updateUser = updateUser;
    }

    public String getUpdateUser() 
    {
        return updateUser;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getGoodFileUrl() {
        return goodFileUrl;
    }

    public void setGoodFileUrl(String goodFileUrl) {
        this.goodFileUrl = goodFileUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("goodName", getGoodName())
            .append("goodStatus", getGoodStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("updateUser", getUpdateUser())
            .toString();
    }
}
